<template>
    <div class="head">
      {{title}}
    </div>
</template>

<script>
export default {
  name: 'mheader',
  props: {
    title: {
      type: String,
      default: '首页'
    }
  }
}
</script>

<style scoped>
.head{
  height: 1.2rem;
  line-height: 1.2rem;
  background: #007aff;
  color: #fff;
  font-size: .5rem;
  text-align: center;
  letter-spacing: 2px;
}
</style>
